package com.huarui.purchaseOrder.service.provider.taskOwner;


import com.huarui.purchaseOrder.model.PurOrSaleOrder;
import com.huarui.task.service.provider.CreateTaskOwnerHandler;
import com.huarui.task.service.provider.TaskOwnerProvider;

public class PurOrSaleSaveTaskOwnerProviderImpl implements TaskOwnerProvider, CreateTaskOwnerHandler{

	private PurOrSaleOrder orders;
	
	
	public PurOrSaleSaveTaskOwnerProviderImpl(PurOrSaleOrder orders) {
		super();
		this.orders = orders;
	}



	@Override
	public Object createTaskOwner() {
		return PurOrSaleTaskOwnerUtil.saveTaskOwner(orders);
	}


}
